module.exports = options => {
	return async function local(ctx,next){
		ctx.state.userinfo = '小红虾'
		ctx.state.session = ctx.session.username
		await next()
	}
}